#include<stdio.h>


/*数组就是指针 指针就是数组*/
int main()
{
    char * name = "zhangsan";
    /*指针即数据*/
    printf("name[3] = %c\n",name[3]);

    char address[32] = "jiangxi";
    printf("address[3] = %c\n",address[2]);

    printf("*name = %c,\tname[0] = %c\n",*name,name[0]);
    printf("*(name + 3)= %c,\tname[3] = %c\n",*(name + 3),name[3]);
    /**(name + X) = name[x]*/
    return 0;
}
